package com.etoak.train.service;

import com.etoak.train.req.PassengerQueryReq;
import com.etoak.train.req.PassengerSaveReq;
import com.etoak.train.resp.PageResp;
import com.etoak.train.resq.PassengerQueryResp;

/**
 * @Author by 孙有泽
 * @Date 2025/5/10 12:58
 * @Description
 */
public interface PassengerService {
    void add(PassengerSaveReq passengerSaveReq);

    PageResp<PassengerQueryResp> queryList(PassengerQueryReq passengerQueryReq);

    void delete(Long id);
}
